import type { App } from 'vue'

import { Button, NavBar, Search, Field, CellGroup, Notify } from 'vant'
import { Stepper, Divider, List, Tabbar, TabbarItem, Picker, DatePicker, Tab, Tabs } from 'vant'

export const setupVant = (app: App<Element>) => {
  app.use(Button)
  app.use(NavBar)
  app.use(Search)
  app.use(Field)
  app.use(CellGroup)
  app.use(Notify)
  app.use(Stepper)
  app.use(Divider)
  app.use(List)
  app.use(Tabbar)
  app.use(TabbarItem)
  app.use(Picker)
  app.use(DatePicker)
  app.use(Tab)
  app.use(Tabs)
}
